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

Click For Summary
SUMMARY

This discussion focuses on applying Cramer's Rule to solve for the variables x' and y' in terms of x and y using linear algebra. The matrices involved are A, A1, and A2, where A represents the transformation matrix for rotation. The determinants are calculated as det(A) = 1, det(A1) = x cos θ + y sin θ, and det(A2) = y cos θ - x sin θ. The final solutions derived are x' = x cos θ + y sin θ and y' = -x sin θ + y cos θ, confirming the correctness of the approach.

PREREQUISITES
  • Understanding of linear algebra concepts, specifically matrix operations.
  • Familiarity with Cramer's Rule for solving systems of linear equations.
  • Knowledge of trigonometric identities, particularly sin² θ + cos² θ = 1.
  • Ability to perform determinant calculations for 2x2 matrices.
NEXT STEPS
  • Study advanced applications of Cramer's Rule in higher dimensions.
  • Learn about matrix transformations and their geometric interpretations.
  • Explore the relationship between rotation matrices and trigonometric functions.
  • Investigate alternative methods for solving linear systems, such as Gaussian elimination.
USEFUL FOR

Students and educators in mathematics, particularly those focusing on linear algebra and its applications in geometry and physics.

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
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · 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
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K