ECE 102 Engineering Computation

Size: px
Start display at page:

Download "ECE 102 Engineering Computation"

Transcription

1 ECE 102 Engineering Computation Phillip Wong MATLAB Vector Operations Vector Math Strings

2 Vector Operations A vector is a list of values placed in a single row or column. Each value is called an element. To create a vector from a list of values: variable_name = [ elements ] Use brackets when defining a vector. Vectors are 1-dimensional arrays. 1

3 To create a row vector: Type the list with a space or comma between each element. Example: v = [ ] v = [1,2,3,4] Use the colon operator ( :) to either Create vectors with fixed spacing between values -or- Reference a range of values within the vector 2

4 To create a row vector with constant spacing: variable_name = [m:q:n] or m:q:n m first term q spacing between terms (i.e., step value) n last term If spacing is omitted, it defaults to +1. Example: x = [0:0.5:2] y = 0:2:7 z = -2:

5 To create a row vector with constant spacing: variable_name = linspace(xf,xl,n) xf first term xl last term n number of terms Example: x = linspace(0,3,2) 0 3 y = linspace(0,3,3) z = linspace(0,3,4)

6 To create a row vector with logarithmic spacing: variable_name = logspace(x1,x2,n) X1 first decade 10 X1 X2 last decade 10 X2 N number of points between 10 X1 and 10 X2 Example: x = logspace(0,2,3) y = logspace(0,2,4)

7 To create a column vector: Type a semicolon between each element. Example: v = [1;2;3;4] Use the transpose operator ( ') to convert a row vector to a column vector Example: v = [3-1 2]' Transpose 6

8 Use parentheses with an index to access a specific element in a vector. v 1 1 Suppose v v 1 v 2 v m or v v m v m m v(k)is the k-thelement in the vector. Vector indices in MATLAB always start at one (1) Example: Let v = [ ] v(1)is 5, v(3)is 1, v(4)is 3 y = v(2)+1means yhas value -8+1=-7 7

9 To modify a specific element in a vector: Set the indexed element to a new value. Example: Let v = [ ] v(2)= v(2)= v(4) To find the current length of a vector: Use the length()function. It returns the number of elements contained in the vector. Example: Let v = [ ] L = length(v) 4 8

10 To extract a subvectorfrom a vector: Use the colon operator Example: Let v = [ ] a = v(2:4) b = v(2:3) -8 1 To extend the size of a vector: i.e., v(2), v(3), v(4) i.e., v(2), v(3) Use an index larger than the current size. Example: Let v = [3 0 2] v(4) = v(7) = Auto-fills with zeros 9

11 To create an empty vector: Use a pair of brackets with no values defined. Example: Let v = [] To concatenate a vector: Use this syntax: v = [v ele] or [ele v] Example: Let z = [1] 1 z = [z 3] 1 3 z = [2 z]

12 Vector Math Addition and subtraction: These operations follow linear algebra rules. Multiplication: Vector multiplied by a scalar Let abe a vector and kbe a scalar. Syntax: k* a (result is a vector) Example: Let a= [1 4 3] (1.5)* a

13 Vector multiplied by a vector (scalar dot product) Let aand bbe vectors of the same length. Find a b. Syntax: dot(a,b) Example: Let a= [1 4 3] and b= [5-1 2] dot(a,b) 7 Vector multiplied by a vector (vector cross product) Let aand bbe vectors of length 3. Find a b. Syntax: cross(a,b) Example: Let a= [1 4 3] and b= [5-1 2] cross(a,b)

14 Element-by-element (EBE) operations: By preceding certain operators with a period, EBE is done instead of the normal operation. Vector multiplied by a vector (EBE) Leta = [a 1 a 2 a m ] and b = [b 1 b 2 b m ] a.* b a 1 b 1 a 2 b 2 a m b m Example: Let a= [1 4 3] and b= [5-1 2] a.* b Note: This also applies to column vectors. 13

15 Vector divided by a vector (EBE) Leta = [a 1 a 2 a m ] and b = [b 1 b 2 b m ] a./ b a 1 /b 1 a 2 /b 2 a m /b m Example: Let a= [1 4 3] and b= [5-1 2] a./ b Vector raised to a scalar power (EBE) Leta = [a 1 a 2 a m ] and kbe a scalar a.^ k (a 1 ) k (a 2 ) k (a m ) k Example: Let a= [-2 4 3] a.^

16 Vector raised to a vector power (EBE) Leta = [a 1 a 2 a m ] and b = [b 1 b 2 b m ] b 1 b 2 b m a.^ b (a 1 ) (a 2 ) (a m ) Example: Let a= [-2 4 3] and b= [3-1 2] a.^ b Vector as a function argument (EBE) Leta = [a 1 a 2 a m ] f (a) f (a 1 ) f (a 2 ) f (a m ) Example: Let a= [1 4 3] sin(a)

17 Summary of Vector Operators Addition or unary plus + Subtraction or unary minus - Vector Multiplication * Vector Division / Array Multiplication (EBE).* Array Division (EBE)./ Array Power (EBE).^ 16

18 Strings A string can be considered a vector of characters. Type the characters within single quotes. To embed a single quote within a string, type two consecutive single quotes. Example: 'Hello', 'Good bye 12? ' name = 'George Smith' disp(name) George Smith disp(name(1:6)) George x=['hi, ' name] Hi, George Smith 17

(Mathematical Operations with Arrays) Applied Linear Algebra in Geoscience Using MATLAB

(Mathematical Operations with Arrays) Applied Linear Algebra in Geoscience Using MATLAB Applied Linear Algebra in Geoscience Using MATLAB (Mathematical Operations with Arrays) Contents Getting Started Matrices Creating Arrays Linear equations Mathematical Operations with Arrays Using Script

More information

Math Assignment 3 - Linear Algebra

Math Assignment 3 - Linear Algebra Math 216 - Assignment 3 - Linear Algebra Due: Tuesday, March 27. Nothing accepted after Thursday, March 29. This is worth 15 points. 10% points off for being late. You may work by yourself or in pairs.

More information

SECTION 2: VECTORS AND MATRICES. ENGR 112 Introduction to Engineering Computing

SECTION 2: VECTORS AND MATRICES. ENGR 112 Introduction to Engineering Computing SECTION 2: VECTORS AND MATRICES ENGR 112 Introduction to Engineering Computing 2 Vectors and Matrices The MAT in MATLAB 3 MATLAB The MATrix (not MAThematics) LABoratory MATLAB assumes all numeric variables

More information

January 18, 2008 Steve Gu. Reference: Eta Kappa Nu, UCLA Iota Gamma Chapter, Introduction to MATLAB,

January 18, 2008 Steve Gu. Reference: Eta Kappa Nu, UCLA Iota Gamma Chapter, Introduction to MATLAB, Introduction to MATLAB January 18, 2008 Steve Gu Reference: Eta Kappa Nu, UCLA Iota Gamma Chapter, Introduction to MATLAB, Part I: Basics MATLAB Environment Getting Help Variables Vectors, Matrices, and

More information

CITS2401 Computer Analysis & Visualisation

CITS2401 Computer Analysis & Visualisation FACULTY OF ENGINEERING, COMPUTING AND MATHEMATICS CITS2401 Computer Analysis & Visualisation SCHOOL OF COMPUTER SCIENCE AND SOFTWARE ENGINEERING Topic 7 Matrix Algebra Material from MATLAB for Engineers,

More information

Chapter 2: Numeric, Cell, and Structure Arrays

Chapter 2: Numeric, Cell, and Structure Arrays Chapter 2: Numeric, Cell, and Structure Arrays Topics Covered: Vectors Definition Addition Multiplication Scalar, Dot, Cross Matrices Row, Column, Square Transpose Addition Multiplication Scalar-Matrix,

More information

CITS2401 Computer Analysis & Visualisation

CITS2401 Computer Analysis & Visualisation FACULTY OF ENGINEERING, COMPUTING AND MATHEMATICS CITS2401 Computer Analysis & Visualisation SCHOOL OF COMPUTER SCIENCE AND SOFTWARE ENGINEERING Topic 7 Matrix Algebra Material from MATLAB for Engineers,

More information

Identity Matrix: EDU> eye(3) ans = Matrix of Ones: EDU> ones(2,3) ans =

Identity Matrix: EDU> eye(3) ans = Matrix of Ones: EDU> ones(2,3) ans = Very Basic MATLAB Peter J. Olver October, 2003 Matrices: Type your matrix as follows: Use, or space to separate entries, and ; or return after each row. EDU> [;5 0-3 6;; - 5 ] or EDU> [,5,6,-9;5,0,-3,6;7,8,5,0;-,,5,]

More information

ALGEBRA 1. Interactive Notebook Chapter 2: Linear Equations

ALGEBRA 1. Interactive Notebook Chapter 2: Linear Equations ALGEBRA 1 Interactive Notebook Chapter 2: Linear Equations 1 TO WRITE AN EQUATION: 1. Identify the unknown (the variable which you are looking to find) 2. Write the sentence as an equation 3. Look for

More information

Using MATLAB. Linear Algebra

Using MATLAB. Linear Algebra Using MATLAB in Linear Algebra Edward Neuman Department of Mathematics Southern Illinois University at Carbondale One of the nice features of MATLAB is its ease of computations with vectors and matrices.

More information

JUST THE MATHS UNIT NUMBER 1.6. ALGEBRA 6 (Formulae and algebraic equations) A.J.Hobson

JUST THE MATHS UNIT NUMBER 1.6. ALGEBRA 6 (Formulae and algebraic equations) A.J.Hobson JUST THE MATHS UNIT NUMBER 1.6 ALGEBRA 6 (Formulae and algebraic equations) by A.J.Hobson 1.6.1 Transposition of formulae 1.6. of linear equations 1.6.3 of quadratic equations 1.6. Exercises 1.6.5 Answers

More information

Computational Foundations of Cognitive Science

Computational Foundations of Cognitive Science Computational Foundations of Cognitive Science Lecture 11: Matrices in Matlab Frank Keller School of Informatics University of Edinburgh keller@inf.ed.ac.uk February 23, 2010 Frank Keller Computational

More information

USE OF MATLAB TO UNDERSTAND BASIC MATHEMATICS

USE OF MATLAB TO UNDERSTAND BASIC MATHEMATICS USE OF MATLAB TO UNDERSTAND BASIC MATHEMATICS Sanjay Gupta P. G. Department of Mathematics, Dev Samaj College For Women, Punjab ( India ) ABSTRACT In this paper, we talk about the ways in which computer

More information

I&C 6N. Computational Linear Algebra

I&C 6N. Computational Linear Algebra I&C 6N Computational Linear Algebra 1 Lecture 1: Scalars and Vectors What is a scalar? Computer representation of a scalar Scalar Equality Scalar Operations Addition and Multiplication What is a vector?

More information

Section-A. Short Questions

Section-A. Short Questions Section-A Short Questions Question1: Define Problem? : A Problem is defined as a cultural artifact, which is especially visible in a society s economic and industrial decision making process. Those managers

More information

APPENDIX B: Review of Basic Arithmetic

APPENDIX B: Review of Basic Arithmetic APPENDIX B: Review of Basic Arithmetic Personal Trainer Algebra Click Algebra in the Personal Trainer for an interactive review of these concepts. Equality = Is equal to 3 = 3 Three equals three. 3 = +3

More information

L3: Review of linear algebra and MATLAB

L3: Review of linear algebra and MATLAB L3: Review of linear algebra and MATLAB Vector and matrix notation Vectors Matrices Vector spaces Linear transformations Eigenvalues and eigenvectors MATLAB primer CSCE 666 Pattern Analysis Ricardo Gutierrez-Osuna

More information

Matrix Basic Concepts

Matrix Basic Concepts Matrix Basic Concepts Topics: What is a matrix? Matrix terminology Elements or entries Diagonal entries Address/location of entries Rows and columns Size of a matrix A column matrix; vectors Special types

More information

Elementary maths for GMT

Elementary maths for GMT Elementary maths for GMT Linear Algebra Part 2: Matrices, Elimination and Determinant m n matrices The system of m linear equations in n variables x 1, x 2,, x n a 11 x 1 + a 12 x 2 + + a 1n x n = b 1

More information

Manual of Time Scales Toolbox for MATLAB

Manual of Time Scales Toolbox for MATLAB Manual of Time Scales Toolbox for MATLAB BAYLOR UNIVERSITY WACO, TX 76798 2005 Baylor University User s Manual: Time Scales Toolbox for MatLab Written By: Brian Ballard Bumni Otegbade This project funded

More information

Appendix: Synthetic Division

Appendix: Synthetic Division Appendix: Synthetic Division AP Learning Objectives In this section, we will learn how to: 1. Divide polynomials using synthetic division. Synthetic division is a short form of long division with polynomials.

More information

Math 260 Lecture Notes Ch Solving Equations Using Addition and Subtraction Properties of Equality

Math 260 Lecture Notes Ch Solving Equations Using Addition and Subtraction Properties of Equality 2.3 Solving Equations Using Addition and Subtraction Properties of Equality Let s play a game of are in the envelope? Here are the rules: 1. The same number of counters are placed on the left side and

More information

FF505 Computational Science. Matrix Calculus. Marco Chiarandini

FF505 Computational Science. Matrix Calculus. Marco Chiarandini FF505 Computational Science Matrix Calculus Marco Chiarandini (marco@imada.sdu.dk) Department of Mathematics and Computer Science (IMADA) University of Southern Denmark Resume MATLAB, numerical computing

More information

2-6 Algebraic Proof. State the property that justifies each statement. 1. If m 1 = m 2 and m 2 = m 3, then m 1 = m 3. SOLUTION:

2-6 Algebraic Proof. State the property that justifies each statement. 1. If m 1 = m 2 and m 2 = m 3, then m 1 = m 3. SOLUTION: State the property that justifies each 1. If m 1 = m 2 and m 2 = m 3, then m 1 = m 3. There are two parts to the hypotheses. "If m 1 = m 2 and m 2 = m 3, then m 1 = m 3. "The end of the first part of the

More information

Introduction to Cryptology Dr. Sugata Gangopadhyay Department of Computer Science and Engineering Indian Institute of Technology, Roorkee

Introduction to Cryptology Dr. Sugata Gangopadhyay Department of Computer Science and Engineering Indian Institute of Technology, Roorkee Introduction to Cryptology Dr. Sugata Gangopadhyay Department of Computer Science and Engineering Indian Institute of Technology, Roorkee Lecture 05 Problem discussion on Affine cipher and perfect secrecy

More information

An Introduction to Scilab for EE 210 Circuits Tony Richardson

An Introduction to Scilab for EE 210 Circuits Tony Richardson An Introduction to Scilab for EE 210 Circuits Tony Richardson Introduction This is a brief introduction to Scilab. It is recommended that you try the examples as you read through this introduction. What

More information

Equations. Rational Equations. Example. 2 x. a b c 2a. Examine each denominator to find values that would cause the denominator to equal zero

Equations. Rational Equations. Example. 2 x. a b c 2a. Examine each denominator to find values that would cause the denominator to equal zero Solving Other Types of Equations Rational Equations Examine each denominator to find values that would cause the denominator to equal zero Multiply each term by the LCD or If two terms cross-multiply Solve,

More information

Linear Algebra V = T = ( 4 3 ).

Linear Algebra V = T = ( 4 3 ). Linear Algebra Vectors A column vector is a list of numbers stored vertically The dimension of a column vector is the number of values in the vector W is a -dimensional column vector and V is a 5-dimensional

More information

Mixed Review Write an equation for each problem. Then solve the equation. 1. The difference between 70 and a number is 2. A number minus 13 is 1.

Mixed Review Write an equation for each problem. Then solve the equation. 1. The difference between 70 and a number is 2. A number minus 13 is 1. 1 of 12 2/23/2009 4:28 PM Name Mixed Review Write an equation for each problem. Then solve the equation. 1. The difference between 70 and a number is 2. A number minus 13 is 1. 66. 3. A number multiplied

More information

Basic Principles of Algebra

Basic Principles of Algebra Basic Principles of Algebra Algebra is the part of mathematics dealing with discovering unknown numbers in an equation. It involves the use of different types of numbers: natural (1, 2, 100, 763 etc.),

More information

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes Determinants 7.3 Introduction Among other uses, determinants allow us to determine whether a system of linear equations has a unique solution or not. The evaluation of a determinant is a key skill in engineering

More information

Factorizing Algebraic Expressions

Factorizing Algebraic Expressions 1 of 60 Factorizing Algebraic Expressions 2 of 60 Factorizing expressions Factorizing an expression is the opposite of expanding it. Expanding or multiplying out a(b + c) ab + ac Factorizing Often: When

More information

Variable Expression: a collection of numbers, variables, and operations *Expressions DO NOT have signs. Ex: If x = 3 6x = Ex: if y = 9..

Variable Expression: a collection of numbers, variables, and operations *Expressions DO NOT have signs. Ex: If x = 3 6x = Ex: if y = 9.. Algebra 1 Chapter 1 Note Packet Name Section 1.1: Variables in Algebra Variable: a letter that is used to represent one or more numbers Ex: x, y, t, etc. (*The most popular one is x ) Variable Values:

More information

Review: Linear and Vector Algebra

Review: Linear and Vector Algebra Review: Linear and Vector Algebra Points in Euclidean Space Location in space Tuple of n coordinates x, y, z, etc Cannot be added or multiplied together Vectors: Arrows in Space Vectors are point changes

More information

MATH ALGEBRA AND FUNCTIONS

MATH ALGEBRA AND FUNCTIONS Students: 1. Use letters, boxes, or other symbols to stand for any number in simple expressions or equations. 1. Students use and interpret variables, mathematical symbols and properties to write and simplify

More information

Matrices A matrix is a rectangular array of numbers. For example, the following rectangular arrays of numbers are matrices: 2 1 2

Matrices A matrix is a rectangular array of numbers. For example, the following rectangular arrays of numbers are matrices: 2 1 2 Matrices A matrix is a rectangular array of numbers For example, the following rectangular arrays of numbers are matrices: 7 A = B = C = 3 6 5 8 0 6 D = [ 3 5 7 9 E = 8 7653 0 Matrices vary in size An

More information

5.6 Solving Equations Using Both the Addition and Multiplication Properties of Equality

5.6 Solving Equations Using Both the Addition and Multiplication Properties of Equality 5.6 Solving Equations Using Both the Addition and Multiplication Properties of Equality Now that we have studied the Addition Property of Equality and the Multiplication Property of Equality, we can solve

More information

Order of Operations. Real numbers

Order of Operations. Real numbers Order of Operations When simplifying algebraic expressions we use the following order: 1. Perform operations within a parenthesis. 2. Evaluate exponents. 3. Multiply and divide from left to right. 4. Add

More information

Note: The command name is upper case in the description given by help, but must be lower case in actual use. And the backslash Anb is dierent when A i

Note: The command name is upper case in the description given by help, but must be lower case in actual use. And the backslash Anb is dierent when A i MATLAB Tutorial You need a small number of basic commands to start using MATLAB. This short tutorial describes those fundamental commands. You need to create vectors and matrices, to change them, and to

More information

New Mexico Tech Hyd 510

New Mexico Tech Hyd 510 Vectors vector - has magnitude and direction (e.g. velocity, specific discharge, hydraulic gradient) scalar - has magnitude only (e.g. porosity, specific yield, storage coefficient) unit vector - a unit

More information

Algebra Review. Terrametra Resources. Lynn Patten

Algebra Review. Terrametra Resources. Lynn Patten Terrametra Resources Lynn Patten ALGEBRAIC EXPRESSION A combination of ordinary numbers, letter symbols, variables, grouping symbols and operation symbols. Numbers remain fixed in value and are referred

More information

Math Refresher #1. Lucy C. Sorensen Assistant Professor of Public Administration & Policy

Math Refresher #1. Lucy C. Sorensen Assistant Professor of Public Administration & Policy Math Refresher #1 Lucy C. Sorensen Assistant Professor of Public Administration & Policy Agenda Why Are You Here? What Should You Do Next? Unit 1 Topics: Negative numbers Order of operations Algebraic

More information

Lesson 1: Inverses of Functions Lesson 2: Graphs of Polynomial Functions Lesson 3: 3-Dimensional Space

Lesson 1: Inverses of Functions Lesson 2: Graphs of Polynomial Functions Lesson 3: 3-Dimensional Space Table of Contents Introduction.............................................................. v Unit 1: Modeling with Matrices... 1 Lesson 2: Solving Problems Using Matrices.................................

More information

Algebra 2 Matrices. Multiple Choice Identify the choice that best completes the statement or answers the question. 1. Find.

Algebra 2 Matrices. Multiple Choice Identify the choice that best completes the statement or answers the question. 1. Find. Algebra 2 Matrices Review Multiple Choice Identify the choice that best completes the statement or answers the question. 1. Find. Evaluate the determinant of the matrix. 2. 3. A matrix contains 48 elements.

More information

ARITHMETIC AND BASIC ALGEBRA

ARITHMETIC AND BASIC ALGEBRA C O M P E T E N C Y ARITHMETIC AND BASIC ALGEBRA. Add, subtract, multiply and divide rational numbers expressed in various forms Addition can be indicated by the expressions sum, greater than, and, more

More information

Stage-structured Populations

Stage-structured Populations Department of Biology New Mexico State University Las Cruces, New Mexico 88003 brook@nmsu.edu Fall 2009 Age-Structured Populations All individuals are not equivalent to each other Rates of survivorship

More information

MATH.2720 Introduction to Programming with MATLAB Vector and Matrix Algebra

MATH.2720 Introduction to Programming with MATLAB Vector and Matrix Algebra MATH.2720 Introduction to Programming with MATLAB Vector and Matrix Algebra A. Vectors A vector is a quantity that has both magnitude and direction, like velocity. The location of a vector is irrelevant;

More information

Algebra I Notes Unit Two: Variables

Algebra I Notes Unit Two: Variables Syllabus Objectives:. The student will use order of operations to evaluate expressions.. The student will evaluate formulas and algebraic expressions using rational numbers (with and without technology).

More information

{ independent variable some property or restriction about independent variable } where the vertical line is read such that.

{ independent variable some property or restriction about independent variable } where the vertical line is read such that. Page 1 of 5 Introduction to Review Materials One key to Algebra success is identifying the type of work necessary to answer a specific question. First you need to identify whether you are dealing with

More information

Q 1 Find the square root of 729. 6. Squares and Square Roots Q 2 Fill in the blank using the given pattern. 7 2 = 49 67 2 = 4489 667 2 = 444889 6667 2 = Q 3 Without adding find the sum of 1 + 3 + 5 + 7

More information

MiniMat: Matrix Language in OCaml LLVM

MiniMat: Matrix Language in OCaml LLVM Terence Lim - tl2735@columbia.edu August 17, 2016 Contents 1 Introduction 4 1.1 Goals........................................ 4 1.1.1 Flexible matrix notation......................... 4 1.1.2 Uncluttered................................

More information

Introduction to Matrices

Introduction to Matrices POLS 704 Introduction to Matrices Introduction to Matrices. The Cast of Characters A matrix is a rectangular array (i.e., a table) of numbers. For example, 2 3 X 4 5 6 (4 3) 7 8 9 0 0 0 Thismatrix,with4rowsand3columns,isoforder

More information

EEE161 Applied Electromagnetics Laboratory 1

EEE161 Applied Electromagnetics Laboratory 1 Dr. Milica Marković Applied Electromagnetics Laboratory page 1 EEE161 Applied Electromagnetics Laboratory 1 Instructor: Dr. Milica Marković Office: Riverside Hall 3028 Email: milica@csus.edu Web:http://gaia.ecs.csus.edu/

More information

Quantum Mechanics for Scientists and Engineers. David Miller

Quantum Mechanics for Scientists and Engineers. David Miller Quantum Mechanics for Scientists and Engineers David Miller Background mathematics Basic mathematical symbols Elementary arithmetic symbols Equals Addition or plus 3 5 Subtraction, minus or less 3 or Multiplication

More information

Chapter 1 Vector Spaces

Chapter 1 Vector Spaces Chapter 1 Vector Spaces Per-Olof Persson persson@berkeley.edu Department of Mathematics University of California, Berkeley Math 110 Linear Algebra Vector Spaces Definition A vector space V over a field

More information

CHAPTER 1 REVIEW Section 1 - Algebraic Expressions

CHAPTER 1 REVIEW Section 1 - Algebraic Expressions CHAPTER 1 REVIEW Section 1 - Algebraic Expressions A variable is a symbol used to represent one or more numbers. The numbers are called the values of the variable. The terms of an expression are the parts

More information

Expressions, Equations and Inequalities Guided Notes

Expressions, Equations and Inequalities Guided Notes Expressions, Equations and Inequalities Guided Notes Standards: Alg1.M.A.SSE.A.01a - The Highly Proficient student can explain the context of different parts of a formula presented as a complicated expression.

More information

Pre-Algebra Notes Unit Two: Solving Equations

Pre-Algebra Notes Unit Two: Solving Equations Pre-Algebra Notes Unit Two: Solving Equations Properties of Real Numbers Syllabus Objective: (.1) The student will evaluate expressions using properties of addition and multiplication, and the distributive

More information

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of . Matrices A matrix is any rectangular array of numbers. For example 3 5 6 4 8 3 3 is 3 4 matrix, i.e. a rectangular array of numbers with three rows four columns. We usually use capital letters for matrices,

More information

4 Linear Algebra Review

4 Linear Algebra Review 4 Linear Algebra Review For this topic we quickly review many key aspects of linear algebra that will be necessary for the remainder of the course 41 Vectors and Matrices For the context of data analysis,

More information

BCMB/CHEM 8190 Lab Exercise Using Maple for NMR Data Processing and Pulse Sequence Design March 2012

BCMB/CHEM 8190 Lab Exercise Using Maple for NMR Data Processing and Pulse Sequence Design March 2012 BCMB/CHEM 8190 Lab Exercise Using Maple for NMR Data Processing and Pulse Sequence Design March 2012 Introduction Maple is a powerful collection of routines to aid in the solution of mathematical problems

More information

A High Level Programming Language for Quantum Computing

A High Level Programming Language for Quantum Computing QUARK QUantum Analysis and Realization Kit A High Level Programming Language for Quantum Computing Team In lexicographical order: Name UNI Role Daria Jung djj2115 Verification and Validation Jamis Johnson

More information

Graphics (INFOGR), , Block IV, lecture 8 Deb Panja. Today: Matrices. Welcome

Graphics (INFOGR), , Block IV, lecture 8 Deb Panja. Today: Matrices. Welcome Graphics (INFOGR), 2017-18, Block IV, lecture 8 Deb Panja Today: Matrices Welcome 1 Today Matrices: why and what? Matrix operations Determinants Adjoint/adjugate and inverse of matrices Geometric interpretation

More information

POLYNOMIAL EXPRESSIONS PART 1

POLYNOMIAL EXPRESSIONS PART 1 POLYNOMIAL EXPRESSIONS PART 1 A polynomial is an expression that is a sum of one or more terms. Each term consists of one or more variables multiplied by a coefficient. Coefficients can be negative, so

More information

Lab 2: Static Response, Cantilevered Beam

Lab 2: Static Response, Cantilevered Beam Contents 1 Lab 2: Static Response, Cantilevered Beam 3 1.1 Objectives.......................................... 3 1.2 Scalars, Vectors and Matrices (Allen Downey)...................... 3 1.2.1 Attribution.....................................

More information

Numerical Methods Lecture 2 Simultaneous Equations

Numerical Methods Lecture 2 Simultaneous Equations CGN 42 - Computer Methods Numerical Methods Lecture 2 Simultaneous Equations Topics: matrix operations solving systems of equations Matrix operations: Adding / subtracting Transpose Multiplication Adding

More information

VECTORS AND MATRICES

VECTORS AND MATRICES VECTORS AND MATRICES COMPUTER SESSION C1 BACKGROUND PREPARATIONS The session is divided into two parts. The first part involves experimenting in the Mathematics Laboratory and the second part involves

More information

A Review of Matrix Analysis

A Review of Matrix Analysis Matrix Notation Part Matrix Operations Matrices are simply rectangular arrays of quantities Each quantity in the array is called an element of the matrix and an element can be either a numerical value

More information

Lecture 03 Positive Semidefinite (PSD) and Positive Definite (PD) Matrices and their Properties

Lecture 03 Positive Semidefinite (PSD) and Positive Definite (PD) Matrices and their Properties Applied Optimization for Wireless, Machine Learning, Big Data Prof. Aditya K. Jagannatham Department of Electrical Engineering Indian Institute of Technology, Kanpur Lecture 03 Positive Semidefinite (PSD)

More information

This is a listing of common symbols found within all branches of mathematics 1. x = y means x and y represent the same thing or value.

This is a listing of common symbols found within all branches of mathematics 1. x = y means x and y represent the same thing or value. This is a listing of common symbols found within all branches of mathematics 1. Symbol Read as Explanation Examples = is equal to; equals < > + is not equal to does not equal is less than, is greater than

More information

1.3 Algebraic Expressions. Copyright Cengage Learning. All rights reserved.

1.3 Algebraic Expressions. Copyright Cengage Learning. All rights reserved. 1.3 Algebraic Expressions Copyright Cengage Learning. All rights reserved. Objectives Adding and Subtracting Polynomials Multiplying Algebraic Expressions Special Product Formulas Factoring Common Factors

More information

Expressions that always have the same value. The Identity Property of Addition states that For any value a; a + 0 = a so = 3

Expressions that always have the same value. The Identity Property of Addition states that For any value a; a + 0 = a so = 3 Name Key Words/Topic 2.1 Identity and Zero Properties Topic 2 Guided Notes Equivalent Expressions Identity Property of Addition Identity Property of Multiplication Zero Property of Multiplication The sum

More information

Scientific Notation. Scientific Notation. Table of Contents. Purpose of Scientific Notation. Can you match these BIG objects to their weights?

Scientific Notation. Scientific Notation. Table of Contents. Purpose of Scientific Notation. Can you match these BIG objects to their weights? Scientific Notation Table of Contents Click on the topic to go to that section The purpose of scientific notation Scientific Notation How to write numbers in scientific notation How to convert between

More information

Division Algorithm B1 Introduction to the Division Algorithm (Procedure) quotient remainder

Division Algorithm B1 Introduction to the Division Algorithm (Procedure) quotient remainder A Survey of Divisibility Page 1 SECTION B Division Algorithm By the end of this section you will be able to apply the division algorithm or procedure Our aim in this section is to show that for any given

More information

Vector Operations. Vector Operations. Graphical Operations. Component Operations. ( ) ˆk

Vector Operations. Vector Operations. Graphical Operations. Component Operations. ( ) ˆk Vector Operations Vector Operations ME 202 Multiplication by a scalar Addition/subtraction Scalar multiplication (dot product) Vector multiplication (cross product) 1 2 Graphical Operations Component Operations

More information

TECHNIQUES IN FACTORISATION

TECHNIQUES IN FACTORISATION TECHNIQUES IN FACTORISATION The process where brackets are inserted into an equation is referred to as factorisation. Factorisation is the opposite process to epansion. METHOD: Epansion ( + )( 5) 15 Factorisation

More information

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam This study sheet will not be allowed during the test Books and notes will not be allowed during the test Calculators and cell phones

More information

Unit One Algebraic Thinking (Part A Number Relationships) 1.2 Powers *I can write and understand numerical expressions involving

Unit One Algebraic Thinking (Part A Number Relationships) 1.2 Powers *I can write and understand numerical expressions involving 1.2 Powers *I can write and understand numerical expressions involving and Exponents whole number exponents. Discuss with your group how do you THINK you would find the value? Exponential Form: base 4

More information

We want to determine what the graph of an exponential function. y = a x looks like for all values of a such that 0 > a > 1

We want to determine what the graph of an exponential function. y = a x looks like for all values of a such that 0 > a > 1 Section 5 B: Graphs of Decreasing Eponential Functions We want to determine what the graph of an eponential function y = a looks like for all values of a such that 0 > a > We will select a value of a such

More information

Inverting Matrices. 1 Properties of Transpose. 2 Matrix Algebra. P. Danziger 3.2, 3.3

Inverting Matrices. 1 Properties of Transpose. 2 Matrix Algebra. P. Danziger 3.2, 3.3 3., 3.3 Inverting Matrices P. Danziger 1 Properties of Transpose Transpose has higher precedence than multiplication and addition, so AB T A ( B T and A + B T A + ( B T As opposed to the bracketed expressions

More information

Operation. 8th Grade Math Vocabulary. Solving Equations. Expression Expression. Order of Operations

Operation. 8th Grade Math Vocabulary. Solving Equations. Expression Expression. Order of Operations 8th Grade Math Vocabulary Operation A mathematical process. Solving s _ 7 1 11 1 3b 1 1 3 7 4 5 0 5 5 sign SOLVING EQUATIONS Operation The rules of which calculation comes first in an epression. Parentheses

More information

Table of mathematical symbols - Wikipedia, the free encyclopedia

Table of mathematical symbols - Wikipedia, the free encyclopedia Página 1 de 13 Table of mathematical symbols From Wikipedia, the free encyclopedia For the HTML codes of mathematical symbols see mathematical HTML. Note: This article contains special characters. The

More information

TOPIC 2 Computer application for manipulating matrix using MATLAB

TOPIC 2 Computer application for manipulating matrix using MATLAB YOGYAKARTA STATE UNIVERSITY MATHEMATICS AND NATURAL SCIENCES FACULTY MATHEMATICS EDUCATION STUDY PROGRAM TOPIC 2 Computer application for manipulating matrix using MATLAB Definition of Matrices in MATLAB

More information

1 Matrices and matrix algebra

1 Matrices and matrix algebra 1 Matrices and matrix algebra 1.1 Examples of matrices A matrix is a rectangular array of numbers and/or variables. For instance 4 2 0 3 1 A = 5 1.2 0.7 x 3 π 3 4 6 27 is a matrix with 3 rows and 5 columns

More information

Introduction to Python

Introduction to Python Introduction to Python Luis Pedro Coelho Institute for Molecular Medicine (Lisbon) Lisbon Machine Learning School II Luis Pedro Coelho (IMM) Introduction to Python Lisbon Machine Learning School II (1

More information

Mathematics 13: Lecture 10

Mathematics 13: Lecture 10 Mathematics 13: Lecture 10 Matrices Dan Sloughter Furman University January 25, 2008 Dan Sloughter (Furman University) Mathematics 13: Lecture 10 January 25, 2008 1 / 19 Matrices Recall: A matrix is a

More information

Lecture 3 Linear Algebra Background

Lecture 3 Linear Algebra Background Lecture 3 Linear Algebra Background Dan Sheldon September 17, 2012 Motivation Preview of next class: y (1) w 0 + w 1 x (1) 1 + w 2 x (1) 2 +... + w d x (1) d y (2) w 0 + w 1 x (2) 1 + w 2 x (2) 2 +...

More information

In a previous lesson, we solved certain quadratic equations by taking the square root of both sides of the equation.

In a previous lesson, we solved certain quadratic equations by taking the square root of both sides of the equation. In a previous lesson, we solved certain quadratic equations by taking the square root of both sides of the equation. x = 36 (x 3) = 8 x = ± 36 x 3 = ± 8 x = ±6 x = 3 ± Taking the square root of both sides

More information

Math 1 Variable Manipulation Part 1 Algebraic Equations

Math 1 Variable Manipulation Part 1 Algebraic Equations Math 1 Variable Manipulation Part 1 Algebraic Equations 1 PRE ALGEBRA REVIEW OF INTEGERS (NEGATIVE NUMBERS) Numbers can be positive (+) or negative (-). If a number has no sign it usually means that it

More information

Math for ML: review. Milos Hauskrecht 5329 Sennott Square, x people.cs.pitt.edu/~milos/courses/cs1675/

Math for ML: review. Milos Hauskrecht 5329 Sennott Square, x people.cs.pitt.edu/~milos/courses/cs1675/ Math for ML: review Milos Hauskrecht milos@pitt.edu 5 Sennott Square, -5 people.cs.pitt.edu/~milos/courses/cs75/ Administrivia Recitations Held on Wednesdays at :00am and :00pm This week: Matlab tutorial

More information

Lecture 3: Matrix and Matrix Operations

Lecture 3: Matrix and Matrix Operations Lecture 3: Matrix and Matrix Operations Representation, row vector, column vector, element of a matrix. Examples of matrix representations Tables and spreadsheets Scalar-Matrix operation: Scaling a matrix

More information

At the end of this section, you should be able to solve equations that are convertible to equations in linear or quadratic forms:

At the end of this section, you should be able to solve equations that are convertible to equations in linear or quadratic forms: Equations in Linear and Quadratic Forms At the end of this section, you should be able to solve equations that are convertible to equations in linear or quadratic forms: Equations involving rational expressions

More information

Pre-Algebra 8 Notes Exponents and Scientific Notation

Pre-Algebra 8 Notes Exponents and Scientific Notation Pre-Algebra 8 Notes Eponents and Scientific Notation Rules of Eponents CCSS 8.EE.A.: Know and apply the properties of integer eponents to generate equivalent numerical epressions. Review with students

More information

Sequences. 1. Number sequences. 2. Arithmetic sequences. Consider the illustrated pattern of circles:

Sequences. 1. Number sequences. 2. Arithmetic sequences. Consider the illustrated pattern of circles: Sequences 1. Number sequences Consider the illustrated pattern of circles: The first layer has just one blue ball. The second layer has three pink balls. The third layer has five black balls. The fourth

More information

Who am I? Math 1080: Numerical Linear Algebra. Books. Format

Who am I? Math 1080: Numerical Linear Algebra. Books. Format Who am I? Math 18: Numerical Linear Algebra M M Sussman sussmanm@mathpittedu Office Hours: MW 1:45PM-2:45PM, Thack 622 Part-time faculty in Math Dept Experience at Bettis lab Administer 27/271 Numerical

More information

Advanced Math. ABSOLUTE VALUE - The distance of a number from zero; the positive value of a number. < 2 indexes draw 2 lines down like the symbol>

Advanced Math. ABSOLUTE VALUE - The distance of a number from zero; the positive value of a number. < 2 indexes draw 2 lines down like the symbol> Advanced Math ABSOLUTE VALUE - The distance of a number from zero; the positive value of a number. < 2 indexes draw 2 lines down like the symbol> ALGEBRA - A branch of mathematics in which symbols, usually

More information

Experiment 2: Introduction to MATLAB II

Experiment 2: Introduction to MATLAB II Experiment : Introduction to MATLAB II.Vector, Matrix and Array Commands Some of MATLAB functions operate essentially on a vector (row or column), and others on an m-by-n matrix (m >= ). Array find length

More information

SIGNALS AND LINEAR SYSTEMS LABORATORY EELE Experiment (2) Introduction to MATLAB - Part (2) Prepared by:

SIGNALS AND LINEAR SYSTEMS LABORATORY EELE Experiment (2) Introduction to MATLAB - Part (2) Prepared by: The Islamic University of Gaza Faculty of Engineering Electrical Engineering Department SIGNALS AND LINEAR SYSTEMS LABORATORY EELE 110 Experiment () Introduction to MATLAB - Part () Prepared by: Eng. Mohammed

More information

Math for ML: review. CS 1675 Introduction to ML. Administration. Lecture 2. Milos Hauskrecht 5329 Sennott Square, x4-8845

Math for ML: review. CS 1675 Introduction to ML. Administration. Lecture 2. Milos Hauskrecht 5329 Sennott Square, x4-8845 CS 75 Introduction to ML Lecture Math for ML: review Milos Hauskrecht milos@cs.pitt.edu 5 Sennott Square, x4-45 people.cs.pitt.edu/~milos/courses/cs75/ Administration Instructor: Prof. Milos Hauskrecht

More information

Chapter. Algebra techniques. Syllabus Content A Basic Mathematics 10% Basic algebraic techniques and the solution of equations.

Chapter. Algebra techniques. Syllabus Content A Basic Mathematics 10% Basic algebraic techniques and the solution of equations. Chapter 2 Algebra techniques Syllabus Content A Basic Mathematics 10% Basic algebraic techniques and the solution of equations. Page 1 2.1 What is algebra? In order to extend the usefulness of mathematical

More information