Solving Algebraic Equations S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department University of Michigan-Dearborn Math Review with Matlab:

Slides:



Advertisements
Similar presentations
Complex Numbers S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Math Review with Matlab: Complex Math.
Advertisements

Solving Algebraic Equations
Differential Equations Math Review with Matlab: Finding Solutions to Differential Equations S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department.
Calculus S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department University of Michigan-Dearborn Math Review with Matlab: Taylor’s Series.
CSE 123 Symbolic Processing. Declaring Symbolic Variables and Constants To enable symbolic processing, the variables and constants involved must first.
Calculus S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department University of Michigan-Dearborn Math Review with Matlab: Limits.
Lecture 16 Symbolic Mathematics Symbolic mathematics: algebraezplotcalculus © 2007 Daniel Valentine. All rights reserved. Published by Elsevier.
Numerical Operations S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Introduction to Matlab: Numerical Integration.
Programming Environment S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Introduction to Matlab: Control Flow.
Math Review with Matlab: Application: Solving Differential Equations
Math 015 Section 6.1 Equations. Many students like to remember the process for solving linear equations as: any algebra expressions on each side variable.
S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan Math Review with Matlab: Simplification Symbolic Math Toolbox.
S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Matlab Basics Introduction to Matlab: Matrix Operations.
3-3 Solving Multiplication Equations. Solve Solution GOAL Find the value of the variable that makes the equation TRUE. The value that makes the equation.
S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan Math Review with Matlab: Fundamentals Symbolic Math Toolbox.
S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Laplace Transform Math Review with Matlab: Calculating the Laplace.
Numerical Operations S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Introduction to Matlab: Polynomial Manipulations.
7.4 Solving Polynomial Equations Objectives: Solve polynomial equations. Find the real zeros of polynomial functions and state the multiplicity of each.
STROUD Worked examples and exercises are in the text The logarithm segment of …
MATLAB Tutorials Session I Introduction to MATLAB Rajeev Madazhy Dept of Mechanical Engineering LSU.
Logarithmic and Exponential Equations
Chapter 12 Review: Symbolic Mathematics
Algebra By : Monte. Term The number or an Expression that are added in a sum.
MATLAB Basics. The following screen will appear when you start up Matlab. All of the commands that will be discussed should be typed at the >> prompt.
Laws of Logarithms 5.6. Laws of Logarithms O If M and N are positive real numbers and b is a positive number such that b  1, then O 1. log b MN = log.
S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Introduction to Matlab: User Input / Output Programming Environment.
Introduction To this point MATLAB has been used to answer questions with a numeric value ▫Variables are assigned specific values ▫Answers are numbers MATLAB.
Solving Quadratic Equations by Factoring MATH 018 Combined Algebra S. Rook.
7.4 Solving Polynomial Equations Objectives: Solve polynomial equations. Find the real zeros of polynomial functions and state the multiplicity of each.
8.3-4 – Logarithmic Functions. Logarithm Functions.
Natural Logarithms Section 5.6. Lehmann, Intermediate Algebra, 4ed Section 5.6Slide 2 Definition of Natural Logarithm Definition: Natural Logarithm A.
NATURAL LOGARITHMS. The Constant: e e is a constant very similar to π. Π = … e = … Because it is a fixed number we can find e 2.
Solving Exponential Equations. We can solve exponential equations using logarithms. By converting to a logarithm, we can move the variable from the exponent.
Differential Equations Linear Equations with Variable Coefficients.
12.8 Exponential and Logarithmic Equations and Problem Solving Math, Statistics & Physics 1.
Solve polynomial equations with complex solutions by using the Fundamental Theorem of Algebra. 5-6 THE FUNDAMENTAL THEOREM OF ALGEBRA.
Table of Contents Solving Quadratic Equations – The Discriminant The Discriminant is the expression found under the radical symbol in the quadratic formula.
$100 $200 $300 $400 $100 $200 $300 $400 $300 $200 $100 Writing variable equations Find variables in addition equations Find variables in subtraction.
Notes 6.5, Date__________ (Substitution). To solve using Substitution: 1.Solve one equation for one variable (choose the variable with a coefficient of.
6.5 Solving Exponential Equations SOLVE EXPONENTIAL EQUATIONS WITH THE SAME BASE. SOLVE EXPONENTIAL EQUATIONS WITH UNLIKE BASES.
5.4 Elimination Using Multiplication Algebra 1 Objective: Each student will understand if addition and subtraction does not eliminate a variable – how.
Introduction to Algebra. What do you think of when you hear “algebra”?
INTEGRATED MATH 2 Unit: Concepts of Algebra. Topics Covered  Properties of Real Numbers  Solving equations (from applications)  Verifying Solutions/algebraic.
Section 9.4 – Solving Differential Equations Symbolically Separation of Variables.
Equations Quadratic in form factorable equations
© Dr. Elmer P. Dadios - DLSU Fellow & Professor
Symbolic Toolbox Dr GUNASEKARAN THANGAVEL Lecturer & Program Co-ordinator Electronics & Telecommunication Engineering EEE Section Department of Engineering.
Algebra.
Solving Exponential and Logarithmic Equations
1-5 Equations Goals: Solve equations with one variable
3.3 Graphs of Nonlinear Inequalities
Examples Solving Exponential Equations
Finding Real Roots of Polynomial Equations
Solving Equations: The Multiplication Principle
3 Exponential and Logarithmic Functions
Packet #15 Exponential and Logarithmic Equations
5.4 Logarithmic Functions and Models
Symbolic mathematics: algebra ezplot calculus
Solving Equations by Factoring and Problem Solving
Solving Linear Systems Algebraically
Solving Equations with variables on each side
4-3 Exponential and Logarithmic Equations
SOLVING MULTI-STEP EQUATIONS
Solving One-Step Equations with Fractional Coefficients
Equations Quadratic in form factorable equations
Algebraic Expression A number sentence without an equal sign. It will have at least two terms and one operations.
Algebra: Variables and Expressions
Chapter 8 Systems of Equations
Equations Chapter 7.1.
Variables.
Presentation transcript:

Solving Algebraic Equations S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department University of Michigan-Dearborn Math Review with Matlab: Single Variable Transcendental Equations

Solving Algebraic Equations:Transcendental Equations 2 Solving Transcendental Equations n Solve Command Solve Command n Polynomial Transcendental Example Polynomial Transcendental Example n Poly2sym Command Poly2sym Command n Exponential Transcendental Example Exponential Transcendental Example n Complex Solution Example Complex Solution Example

Solving Algebraic Equations:Transcendental Equations 3 Solve Command The Symbolic Toolbox’s solve command is used to solve both transcendental and algebraic equations solve(f) solves f in terms of the independent symbolic variable closest to x. f must be a symbolic expression or a entered as a text string enclosed by single quotes solve(f1,f2,...,fn) is used to solve multiple equations by separating the symbolic equations by commas as follows

Solving Algebraic Equations:Transcendental Equations 4 Polynomial Transcendental Equation Example Use Matlab’s Symbolic Toolbox solve command to solve the transcendental equation: » syms x » xs_sym=solve(x^2-3*x+2) xs_sym = [ 1] [ 2] » xs_dbl=double(xs) xs_dbl = 1 2

Solving Algebraic Equations:Transcendental Equations 5 Poly2Sym Command The sym2poly command converts a symbolic polynomial expression to a polynomial coefficient vector The poly2sym(f) command converts a polynomial coefficient vector to symbolic polynomial expression in terms of the default symbolic variable x The poly2sym(f, ' v ' ) command converts a polynomial coefficient vector to symbolic polynomial expression in terms of the symbolic variable v

Solving Algebraic Equations:Transcendental Equations 6 » p=[5,2,-1,1,10]; Poly2sym Example n Example: » sym_exp=poly2sym(p) sym_exp = 5*x^4+2*x^3-x^2+x+10 Polynomial Vector Symbolic Expression » poly_vec=sym2poly(sym_exp) poly_vec = Polynomial Vector

Solving Algebraic Equations:Transcendental Equations 7 Exponential Transcendental Equation Example » xs_sym=solve(exp(2*x)+3*exp(x)-54) xs_sym = [ log(-9)] [ log(6)] Complex Solution Real Solution Use the solve command to solve the transcendental equation: » xs_dbl=double(xs) xs_dbl = i

Solving Algebraic Equations:Transcendental Equations 8 Verify Log e (-9) In this case -  = -9, so: In Matlab, log is the natural log of base e: Verify ln(-  ) is a complex number :

Solving Algebraic Equations:Transcendental Equations 9 Complex Solution Example n Solve the nonlinear equation: » syms x » rt = solve('x^2+exp(x)+5') rt = *i n Verify the result » z=subs( ' x^2+exp(x)+5 ',rt) z =.2e-30

Solving Algebraic Equations:Transcendental Equations 10 Summary The solve command can be used to solve symbolic transcendental equations with real or complex solutions poly2sym and sym2poly commands can be used to convert polynomial vectors to/from symbolic expressions