Linear Algebra, Cramers Rule - Solving for unknowns in a matrix

Click For Summary

Homework Help Overview

The discussion revolves around a linear algebra problem involving Cramer's rule to solve for the variables x' and y' in terms of x and y, based on a system of equations representing a rotation transformation.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants discuss the formation of matrices A, A1, and A2 to apply Cramer's rule. There is an exploration of the determinants of these matrices and how they relate to finding x' and y'. Some participants question the correctness of their approach and seek validation of their reasoning.

Discussion Status

Participants are actively engaging with the problem, with one expressing gratitude for a reminder about verifying solutions by substituting them back into the original equations. There is an acknowledgment of the need to check the proposed solutions, indicating a productive direction in the discussion.

Contextual Notes

There is a mention of the original equations representing a rotation of coordinates, which may influence the understanding of the problem setup and the assumptions being made about the transformation.

johnstobbart
Messages
22
Reaction score
0
Hello everyone, I have a linear algebra question regarding Cramer's rule.

Homework Statement



Using Cramer's rule, solve for x' and y' in terms of x and y.

<br /> \begin{cases}<br /> x = x&#039; cos \theta - y&#039; sin \theta\\<br /> y = x&#039; sin \theta + y&#039;cos \theta<br /> \end{cases}<br />

2. Homework Equations

##sin^2 \theta + cos^2 \theta = 1 ##

The Attempt at a Solution



I need a matrix to start off, so I form a matrix based on the right-hand side of x and y. I'm assuming that x' and y' are just alternative ways of writing ##x_1## and ##x_2##.

<br /> Let A = <br /> \begin{bmatrix}<br /> cos \theta &amp; -sin \theta\\<br /> sin \theta &amp; cos\theta<br /> \end{bmatrix}<br />
I form two more matrices, ##A_1## and ##A_2##.

<br /> Let A_1 = <br /> \begin{bmatrix}<br /> x &amp; -sin \theta\\<br /> y &amp; cos\theta<br /> \end{bmatrix}<br />
<br /> Let A_2 = <br /> \begin{bmatrix}<br /> cos \theta &amp; x\\<br /> sin \theta &amp; y<br /> \end{bmatrix}<br />
I then find ##det(A)##. I get ##cos^2 \theta + sin^2 \theta ## which is ##1##.
##det(A_1) = x cos \theta + y sin \theta##
##det(A_2) = y cos \theta - x sin \theta##
Lastly, I need to find the value of ##x'## and ##y'##, using Cramer's Rule.

<br /> x&#039; = \frac{det(A_1)}{det A} = \frac{x cos \theta + y sin \theta}{1}\\<br /> y&#039; = \frac{det(A_2)}{det A} = \frac{y cos \theta - x sin \theta}{1}<br />

Can anyone tell me if I'm on the right track for this problem?
 
Last edited:
Physics news on Phys.org
johnstobbart said:
Hello everyone, I have a linear algebra question regarding Cramer's rule.

Homework Statement



Using Cramer's rule, solve for x' and y' in terms of x and y.

<br /> \begin{cases}<br /> x = x&#039; cos \theta - y&#039; sin \theta\\<br /> y = x&#039; sin \theta + y&#039;cos \theta<br /> \end{cases}<br />

2. Homework Equations

##sin^2 \theta + cos^2 \theta = 1 ##

The Attempt at a Solution



I need a matrix to start off, so I form a matrix based on the right-hand side of x and y. I'm assuming that x' and y' are just alternative ways of writing ##x_1## and ##x_2##.

<br /> Let A = <br /> \begin{bmatrix}<br /> cos \theta &amp; -sin \theta\\<br /> sin \theta &amp; cos\theta<br /> \end{bmatrix}<br />
I form two more matrices, ##A_1## and ##A_2##.

<br /> Let A_1 = <br /> \begin{bmatrix}<br /> x &amp; -sin \theta\\<br /> y &amp; cos\theta<br /> \end{bmatrix}<br />
<br /> Let A_2 = <br /> \begin{bmatrix}<br /> cos \theta &amp; x\\<br /> sin \theta &amp; y<br /> \end{bmatrix}<br />
I then find ##det(A)##. I get ##cos^2 \theta + sin^2 \theta ## which is ##1##.
##det(A_1) = x cos \theta + y sin \theta##
##det(A_2) = y cos \theta - x sin \theta##
Lastly, I need to find the value of ##x'## and ##y'##, using Cramer's Rule.

<br /> x&#039; = \frac{det(A_1)}{det A} = \frac{x cos \theta + y sin \theta}{1}\\<br /> y&#039; = \frac{det(A_2)}{det A} = \frac{y cos \theta - x sin \theta}{1}<br />

Can anyone tell me if I'm on the right track for this problem?

A good working rule to learn is: check it for yourself, by substituting your proposed solution in the original equations to see if it all works out.
 
Ray Vickson said:
A good working rule to learn is: check it for yourself, by substituting your proposed solution in the original equations to see if it all works out.

Ray, I completely forgot about being able to check questions like these. I want to sincerely thank you for reminding me of this rule.
 
By the way, the original equations,
x= x&#039;cos(\theta)- y&#039;sin(\theta)
y= x&#039;sin(\theta)+ y&#039;cos(\theta)

give the (x, y) coordinates of point (x', y') after a rotation through angle \theta, clockwise, around the origin. Going from (x, y) back to (x', y') is just a rotation in the opposite direction. So

x&#039;= xcos(-\theta)- y sin(-\theta)= xcos(\theta)+ ysin(\theta),
y&#039;= xsin(-\theta)+ ycos(-\theta)= -x sin(\theta)+ y cos(\theta).
 

Similar threads

  • · Replies 31 ·
2
Replies
31
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K