# Wolfram Function Repository

Instant-use add-on functions for the Wolfram Language

Function Repository Resource:

Determine if a linear system has a solution

Contributed by:
Jordan Hasler, Wolfram|Alpha Math Team

ResourceFunction["LinearlyConsistentQ"][ compute whether there is at least one solution to the linear system | |

ResourceFunction["LinearlyConsistentQ"][ compute whether there is at least one solution to the linear system represented by the augmented matrix |

A system of equations can be written as a matrix-vector equation *m*.*x*=*b*, which can be further written as an augmented matrix.

Determine if the system of equations has a solution:

In[1]:= |

Out[1]= |

The system has no solution:

In[2]:= |

Out[2]= |

Note that the equation cannot be solved:

In[3]:= |

Out[3]= |

The system has a solution:

In[4]:= |

Out[4]= |

Find the solution to the system:

In[5]:= |

Out[5]= |

- 2.0.0 – 23 March 2023
- 1.0.0 – 16 December 2022

This work is licensed under a Creative Commons Attribution 4.0 International License