Troubleshooting a Singular Matrix When Modeling a Curve

Click For Summary
SUMMARY

The discussion revolves around troubleshooting a singular matrix error encountered while modeling a curve using sine regression on a graphic calculator. The user provided three key points: Minimum (0, 554.8), Maximum (45, 1220.5), and a random point (20, 830.7). The user correctly calculated A and D but incorrectly used B as (2*pi)/45 instead of π/45. The consensus is that radians should be used for angle measurements unless specified otherwise.

PREREQUISITES
  • Understanding of sine functions and their properties
  • Knowledge of radians versus degrees in trigonometric calculations
  • Familiarity with regression modeling techniques
  • Basic algebra for solving equations
NEXT STEPS
  • Learn about sine regression modeling techniques
  • Study the differences between radians and degrees in trigonometry
  • Explore how to handle singular matrix errors in regression analysis
  • Practice solving trigonometric equations with real-world data points
USEFUL FOR

Mathematicians, data analysts, and students engaged in curve modeling and regression analysis who are troubleshooting sine regression issues.

Peter G.
Messages
439
Reaction score
0
When I try and model a curve using a sine regression with my graphic calculator, it returns an error message that says: Singular Matrix

I decided then to do it by hand. Here are three points.

Minimum: (0,554.8), Maximum: (45, 1220.5) and a random point (20, 830.7)

I want something in the format of: A*sin B(x-c) + d

This is what I did, is it correct?

A = (1220.5-554.8)/2
B = (2*pi)/45
D = (1220.5+554.8)/2
C = One unknown, so I used the random point shown to solve:

(Should I have calc in radians or degrees?)

My steps: ( I will use letters for simplicity)

830.7 = A*sinB(x-c)+d
830.7 - D = A*sinB(x-c)
Ans/A = sinB(x-c)
sin-1(Ans/A) = B(x-c)
Ans/B=x-c
-c=(Ans/B)-x

But I am not getting anything sensible...

Is my calculator right or did I do anything wrong?

Thanks
 
Physics news on Phys.org
Peter G. said:
When I try and model a curve using a sine regression with my graphic calculator, it returns an error message that says: Singular Matrix

I decided then to do it by hand. Here are three points.

Minimum: (0,554.8), Maximum: (45, 1220.5) and a random point (20, 830.7)

I want something in the format of: A*sin B(x-c) + d

This is what I did, is it correct?

A = (1220.5-554.8)/2
B = (2*pi)/45
D = (1220.5+554.8)/2
C = One unknown, so I used the random point shown to solve:

(Should I have calc in radians or degrees?)
Unless a problem specifically gives a value as the measure of an angle in degrees, you should always use radians. Unfortunately, you don't say how the given information was derived. What are the units for the x variablle? That "45" makes me wonder if it not in degrees. The distance from max to min for a sine function is [itex]\pi[/itex] radians or 180 degrees, NOT [itex]2\pi[/itex] radians or 360 degrees.

YOur formulas for A and D are correct.

30,7
My steps: ( I will use letters for simplicity)

830.7 = A*sinB(x-c)+d
830.7 - D = A*sinB(x-c)
Ans/A = sinB(x-c)
sin-1(Ans/A) = B(x-c)
Ans/B=x-c
-c=(Ans/B)-x

But I am not getting anything sensible...

Is my calculator right or did I do anything wrong?

Thanks
 
So I should do pi over 45 years instead of 2pi over 45?
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
3K