Solving Large Equations with wxMaxima - What is up with %r1?

  • Thread starter Thread starter Sparky_
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the use of wxMaxima for solving a set of equations with large coefficients. Participants are exploring the output generated by wxMaxima, specifically the appearance of the symbol %r1 in the solution, and are seeking clarification on its meaning. The conversation includes inquiries about alternative software for solving similar equations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant describes their experience using wxMaxima to solve a set of equations and questions the meaning of the output %r1.
  • Another participant provides an example of using the algsys function for solving linear equations and suggests using linsolve for efficiency.
  • A later reply requests the specific command used in wxMaxima to better understand the output.
  • One participant suggests that %r1 indicates infinitely many solutions, interpreting it as a free parameter in a parametric form.
  • There is a request for recommendations on free software packages that can handle solving multiple equations with large numbers.

Areas of Agreement / Disagreement

Participants express differing levels of understanding regarding the output of wxMaxima, particularly concerning the meaning of %r1. While one interpretation is offered, no consensus is reached on the implications of this output or the best approach to solving the equations.

Contextual Notes

The discussion does not resolve the underlying assumptions about the equations or the specific conditions under which wxMaxima produces the output %r1. There is also no clarification on the nature of the equations being solved (e.g., linear vs. nonlinear).

Who May Find This Useful

This discussion may be useful for users of wxMaxima or those interested in solving systems of equations, particularly with large coefficients, as well as individuals seeking alternative software solutions for similar mathematical problems.

Sparky_
Messages
227
Reaction score
5
I have a set of several equations -

The coefficients are rather large.

I thought I would be smart and not go through all the mess of solving them by hand

I have used wxMaxima some and carefully entered each equation into wxMaxima - using its Solve function

I'm getting:

[[X1=-230942730/(%r1-23900000),
X2=112626/3125,
Tx1=%r1,
Tx2=333975528125/18771]]

what is up with the %r1?

For what it's worth the Tx2 - I feel pretty good about that number it seems about what I would expect, X2 - I could believe that number - not too bad from my gut feel.

anybody here use wxMaxima and know about this?

OR

Can anybody suggest a "free" software package that could solve ~ 7 equations 7 unknows with large numbers?

-Sparky
 
Physics news on Phys.org
algsys([2*x+y=10, 3*x+2*y=17], [x,y]);
Solves 2x+y=10 and 3x+2y=17 for x=3 and y=4.

If your equations are linear, you can use linsolve in place of algsys, for a slight speed increase.

Could you post the command you tried?
 
I used "Solve" in wxMaxima.
 
Post it with the arguments you used. Otherwise, I can't tell why it output %r1.
 
Last edited:
Sparky_ said:
I have a set of several equations -

The coefficients are rather large.

I thought I would be smart and not go through all the mess of solving them by hand

I have used wxMaxima some and carefully entered each equation into wxMaxima - using its Solve function

I'm getting:

[[X1=-230942730/(%r1-23900000),
X2=112626/3125,
Tx1=%r1,
Tx2=333975528125/18771]]

what is up with the %r1?

For what it's worth the Tx2 - I feel pretty good about that number it seems about what I would expect, X2 - I could believe that number - not too bad from my gut feel.

anybody here use wxMaxima and know about this?

OR

Can anybody suggest a "free" software package that could solve ~ 7 equations 7 unknows with large numbers?

-Sparky

Usually the %r1 indicates that your system has infinitely many solutions - this is WxMaxima's way of writing them in parametric form: %r1 is the single free parameter.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 69 ·
3
Replies
69
Views
5K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K