Results 1 to 8 of 8
Like Tree1Thanks
  • 1 Post By Soroban

Math Help - Gauss-Elimination Problems

  1. #1
    Junior Member
    Joined
    Sep 2012
    From
    NY
    Posts
    32

    Gauss-Elimination Problems

    I stuck with these 2 problems for a long time not sure that it is defined or not

    Question 1: Give all solutions, if any, of

    x + y =1
    sin(x - y) =1/2

    with 0 less than or equal to X and X is less than or equal to 3

    Question 2: Give all solutions, if any, of

    sinx +siny = -1
    sinx - siny + 4cosz =1
    sinx + siny + 2cosz =2

    For this problem; after I did Gauss Ellimination, I got

    [1 1 0 -1]
    [0 1 -2 -1]
    [0 0 1 3/2] Then z=3/2, y=2, x=-3

    but siny=sin2=undefined and sinx=sin(-3)=undefined

    I am not sure what I have done wrong, please help

    Thank you
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Junior Member
    Joined
    Sep 2012
    From
    NY
    Posts
    32

    Re: Gauss-Elimination Problems

    somebody please help...
    Follow Math Help Forum on Facebook and Google+

  3. #3
    MHF Contributor
    Joined
    Oct 2009
    Posts
    5,517
    Thanks
    771

    Re: Gauss-Elimination Problems

    In Question 2, I believe you found the supposed values of sin(x), sin(y) and cos(z) correctly. Since sin(x) = -3 has no solutions, the original systems has no solutions, either.

    For Question 1, express y through x from the first equation, substitute it into the second equation and use the fact that \sin\alpha=1/2 iff \alpha=\pi/6+2\pi k, k\in\mathbb{Z} or \alpha=5\pi/6+2\pi k, k\in\mathbb{Z}. Select suitable values of x between 0 and 3.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Junior Member
    Joined
    Sep 2012
    From
    NY
    Posts
    32

    Re: Gauss-Elimination Problems

    Thank you emakorov,

    I still dont get the question 1.

    as you told me the next step should be

    x + y = 1
    sin(2x-1) =1/2 --> substitute eq1 in eq2

    but I don't know what to do next?

    [1 1 1]
    [2 0 1/2] and so on?
    Follow Math Help Forum on Facebook and Google+

  5. #5
    MHF Contributor
    Joined
    Oct 2009
    Posts
    5,517
    Thanks
    771

    Re: Gauss-Elimination Problems

    Quote Originally Posted by angelme View Post
    sin(2x-1) =1/2 --> substitute eq1 in eq2

    but I don't know what to do next?

    [1 1 1]
    [2 0 1/2] and so on?
    Of course not. Gauss elimination procedure applies only to a system of linear equations, where unknown variables are multiplied by constants and added. The equation sin(2x-1) =1/2 is nonlinear because it involves a sine applied to an expression with x. I gave the relevant fact in post #3 (in this case, \alpha=2x-1).
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Super Member

    Joined
    May 2006
    From
    Lexington, MA (USA)
    Posts
    11,686
    Thanks
    617

    Re: Gauss-Elimination Problems

    Hello, angelme!

    The second problem has no real solutions.


    Question 2: Give all solutions, if any, of: . \begin{Bmatrix}\sin x +\sin y \:=\: -1  & [1] \\ \sin x - \sin y + 4\cos z \:=\:1 & [2] \\ \sin x + \sin y + 2\cos z \:=\:2 & [3] \end{Bmatrix}

    Substitute [1] into [3]: . -1 + 2\cos z \:=\:2 \quad\Rightarrow\quad 2\cos z \:=\:3

    . . Hence: . \cos z \:=\:\tfrac{3}{2} . . . no real roots.


    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~


    By the way, Gaussian elimination could be used
    . . with an appropriate substitution.

    Let: . \begin{Bmatrix}X &=& \sin x \\ Y &=& \sin y \\ Z &=& \cos z\end{Bmatrix}

    Then we have: . \begin{bmatrix}X + Y \:=\:-1 \\ X - Y + 4Z \:=\:1 \\ X + Y + 2Z \:=\:2 \end{bmatrix} \quad\Rightarrow\quad \left|\begin{array}{ccc|c}1&1&0&\text{-1} \\ 1&\text{-}1&4&1 \\ 1&1&2&2 \end{array}\right|

    Gaussian elimination results in: . \left|\begin{array}{ccc|c}1&0&0&\text{-}3 \\ 0&1&0&2 \\ 0&0&1&\frac{3}{2}\end{array}\right|

    And we have: . \begin{Bmatrix}X \:=\:\text{-}3 & \Longrightarrow & \sin x \:=\:\text{-}3 \\ Y \:=\:2 & \Longrightarrow & \sin y \:=\:2 \\ Z \:=\:\frac{3}{2} & \Longrightarrow & \cos z \:=\:\frac{3}{2} \end{Bmatrix}

    . . None of the equations has a real solution.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Junior Member
    Joined
    Sep 2012
    From
    NY
    Posts
    32

    Re: Gauss-Elimination Problems

    Thank you Soroban
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Super Member

    Joined
    May 2006
    From
    Lexington, MA (USA)
    Posts
    11,686
    Thanks
    617

    Re: Gauss-Elimination Problems

    Hello again, angelme!

    \text{1: Give all solutions, if any, of: }\:\begin{Bmatrix}x + y &=&1 & [1] \\ \sin(x - y) &=& \frac{1}{2} & [2] \end{Bmatrix}\quad 0 \le x \le 3

    From [2], we have: . \sin(x-y) \:=\:\tfrac{1}{2} \quad\Rightarrow\quad x-y \:=\:\arcsin(\tfrac{1}{2})

    \begin{array}{ccccccc}\text{We have:} & x-y &=& \arcsin(\frac{1}{2}) \\ \text{Add [1]:} & x+y &=& 1 \end{array}

    . . . . . . . . . . 2x \:=\:1 + \arcsin(\tfrac{1}{2})

    . . . . . . . . . . 2x \:=\:\begin{Bmatrix}1 + \frac{\pi}{6} + 2\pi n \\ \\[-3mm]1 + \frac{5\pi}{6} + 2\pi n\end{Bmatrix}

    n . . . . . . . . . x \:=\:\begin{Bmatrix}\frac{1}{2} + \frac{\pi}{12} + \pi n \\ \\[-3mm] \frac{1}{2} + \frac{5\pi}{12} + \pi n \end{Bmatrix}


    \text{To satisfy the domain of }x,\:n = 0.


    \text{Therefore: }\:(x,y) \;=\;\begin{Bmatrix}\left(\frac{1}{2}\!+\!\frac {\pi}{12},\:\frac{1}{2}\!-\!\frac{\pi}{12}\right) \\ \\[-3mm] \left(\frac{1}{2}\!+\!\frac{5\pi}{12},\:\frac{1}{2  }\!-\!\frac{5\pi}{12}\right) \end{Bmatrix}
    Thanks from angelme
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 1
    Last Post: September 12th 2011, 09:03 PM
  2. Replies: 1
    Last Post: February 16th 2011, 02:06 PM
  3. Gauss-Jordan Elimination
    Posted in the Advanced Algebra Forum
    Replies: 1
    Last Post: February 3rd 2011, 07:19 AM
  4. gauss-jordan elimination
    Posted in the Algebra Forum
    Replies: 3
    Last Post: April 26th 2010, 10:41 AM
  5. gauss jordan elimination
    Posted in the Advanced Algebra Forum
    Replies: 1
    Last Post: February 24th 2009, 10:30 AM

Search Tags


/mathhelpforum @mathhelpforum